<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
			try {
				uni.setStorageSync('showError', false);
			} catch (e) {
				console.log('[error]',e)
			}
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods: {
		}
	}
</script>

<style lang="scss">
	body{
		background: #fff;
	}
	/*每个页面公共css */
	@import "uview-ui/index.scss";
	::v-deep .u-tabbar__content{
		background-color: $nft-nav-bg-color!important;
	}
	// ios底部安全距离-padding
	.savepadding{
	    padding-bottom: constant(safe-area-inset-bottom);  
	    padding-bottom: env(safe-area-inset-bottom); 
	    box-sizing: content-box;
	}
	// ios底部安全距离-bottom
	.savebottom{
	    bottom: constant(safe-area-inset-bottom);  
	    bottom: env(safe-area-inset-bottom); 
	}
	@font-face {
		font-family: 'Poppins';
		src: url('@/static/font/Poppins-Regular.ttf');
	}  
	// @font-face {
	// 	font-family: 'PingFang';
	// 	src: url('@/static/font/PingFang Medium_downcc.otf');
	// }
	text,view,input,textarea{
		font-family: Poppins;
	}
	.u-popup{
		.u-modal{
	text{
		text-align: center !important;
		}
		}
		}
	@keyframes fadeIn { from { opacity: 0; }
	  to { opacity: 1; } }
	.fadeIn { animation-duration: .8s; animation-name: fadeIn; }
	
	
	@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 40px, 0); }
	  to { opacity: 1;transform: translate3d(0, 0, 0); } }
	.fadeInUp { animation-duration: .8s; animation-name: fadeInUp; }
	
	@keyframes fadeInDow { from { opacity: 0; transform: translate3d(0, -20px, 0); }
	  to { opacity: 1;  transform: translate3d(0, 0, 0); } }
	.fadeInDow { animation-duration: .8s; animation-name: fadeInDow; }
	
	
	
	@keyframes fadeInRight { from { opacity: 0;  transform: translate3d(40px, 0, 0); }
	  to { opacity: 1;  transform: translate3d(0, 0, 0); } }
	.fadeInRight { animation-duration: .8s; animation-name: fadeInRight; }
	
	
	@keyframes fadeInLeft { from { opacity: 0;  transform: translate3d(-40px, 0, 0); }
	  to { opacity: 1; transform: translate3d(0, 0, 0); } }
	.fadeInLeft { animation-duration: .8s; animation-name: fadeInLeft; }
	
	@keyframes fadeScale {from {opacity: 1;transform: scale(1);text-shadow: 0 0  calw(5vw) rgba(white, 1);}
	  to {opacity: 0.8;transform: scale(0.9);text-shadow: 0 0 calw(20vw) rgba(white, 0.5);}	}
	.fadeScale{transform: 0.3;animation: fadeScale .5s infinite alternate;}
	
	@keyframes move {
	  0% {transform: translateZ(-500px) rotate(0deg);}
	  100% { transform: translateZ(500px) rotate(0deg);}
	}
	.fadeMove{animation: move 12s infinite linear; animation-fill-mode: forwards;}
	
</style>
